package homework.handler;

import com.sun.net.httpserver.HttpExchange;

import java.io.IOException;
import java.util.Set;

public interface RequestHandler<T> {
    T parse(HttpExchange exchange, String[] paths);
    Set<String> requestMethod();
    void handle(HttpExchange exchange, T context) throws IOException;
}
